<template>
  <a-card :class="{ 'full-size': fullSize }" :bordered="bordered">
    <slot />
  </a-card>
</template>

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
  fullSize: {
    type: Boolean,
    default: false
  },
  bordered: {
    type: Boolean,
    default: true
  }
});
</script>

<style scoped>
.full-size {
  height: 100%;
  width: 100%;
}

:deep(.ant-card-body) {
  height: 100%;
  padding: 0;
}
</style> 